<!DOCTYPE html>
<html>

<head>
  <title></title>
  <link rel='stylesheet' href='/stylesheets/style.css' />
</head>

<body>
  <a href="/add.html">新增</a>
  <table cellpadding="0" cellspacing='0'>
    <tr>
      <td>标题</td>
      <td>来源</td>
      <td>作者</td>
      <td>时间</td>
      <td>操作</td>
    </tr>
    <%for(var i in list){%>
    <tr>
      <td><a href="#"><%=list[i].title%></a></td>
      <td><%=list[i].from%></td>
      <td><%=list[i].author%></td>
      <td><%=list[i].time%></td>
      <td>
        <a href="/edit.html?id=<%=list[i]._id%>">修改</a>
        <a href="/del.html?id=<%=list[i]._id%>">删除</a>
      </td>
    </tr>
    <%}%>
  </table>
  </body>
</html>